const { Controller } = require('egg');
// 继承Controller
class MusicController extends Controller {
  // async异步方法,this中有ctx,ctx.body就是当前的页面内容
  async index() {
    const { ctx } = this;
    ctx.body = '我是music页面';
  }
}

module.exports = MusicController;
